import io from 'socket.io-client'
// 链接 服务端
const socket = io.connect('ws://', {
	path: '/ws',
    query: {
		token: ''
	},
	forceJSONP: true,
    transports: ['websocket', 'polling'],
 
})
export default socket